home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
edit
/
yame.zip
/
YSAMPLES.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-08-21
|
572b
|
17 lines
@echo off
echo Attempting to load dBASE with YAME sample configuration....
rem Check for \DBASE\DBASE on drives C through F
rem Don't overwrite environment variable DXYZ if it exists
if not %dxyz%$==$ goto trypath
rem By using %%d%dxyz%, search will fail after first is found
for %%d in ( C D E F ) do if exist %%d%dxyz%:\dbase\dbase.exe set dxyz=%%d
if %dxyz%$==$ goto trypath
echo Loading dBASE from drive %dxyz%
%dxyz%:\dbase\dbase /c ysamples.cfg ysamples
set dxyz=
goto end
:trypath
echo Loading dBASE on your PATH
dbase /c ysamples.cfg ysamples
:end